package com.wskeee.ec.components.tree
{
	import flash.events.Event;
	
	public class TreeEvent extends Event
	{
		/**
		 *  tree 实例可以接到事件 
		 */		
		public static const OPEN_ITEM_CHANGE:String = "openItemChange";
		/**
		 * 由 item调发,主要list控制item显示，在 tree 实例无法接收
		 */		
		public static const ITEM_OPEN:String = "itemOpen";
		
		public function TreeEvent(type:String, data:Object = null)
		{
			super(type, false, false);
			this.data = data;
		}
		
		public var data:Object;
	}
}